#include <CommandManager.h>

CommandManager::CommandManager()
{
    m_undoStack = new QUndoStack;
}

CommandManager::~CommandManager()
{

}

QUndoStack *CommandManager::getUndoStack()
{
    return m_undoStack;
}

void CommandManager::pushCommand(QUndoCommand *command)
{
    m_undoStack->push(command);
}
